home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 4.0 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 65 72 69 6b 40 6e 61 |piled by| erik@na|
|00000020| 67 67 75 6d 2e 6e 6f 20 | 6f 6e 20 53 75 6e 20 4a |ggum.no |on Sun J|
|00000030| 61 6e 20 31 34 20 30 36 | 3a 30 33 3a 35 39 20 31 |an 14 06|:03:59 1|
|00000040| 39 39 36 0a 3b 3b 3b 20 | 66 72 6f 6d 20 66 69 6c |996.;;; |from fil|
|00000050| 65 20 2f 67 64 2f 67 6e | 75 2f 65 6d 61 63 73 2f |e /gd/gn|u/emacs/|
|00000060| 31 39 2e 30 2f 6c 69 73 | 70 2f 6c 65 64 69 74 2e |19.0/lis|p/ledit.|
|00000070| 65 6c 0a 3b 3b 3b 20 65 | 6d 61 63 73 20 76 65 72 |el.;;; e|macs ver|
|00000080| 73 69 6f 6e 20 31 39 2e | 33 30 2e 37 30 2e 36 2e |sion 19.|30.70.6.|
|00000090| 0a 3b 3b 3b 20 62 79 74 | 65 63 6f 6d 70 20 76 65 |.;;; byt|ecomp ve|
|000000a0| 72 73 69 6f 6e 20 46 53 | 46 20 32 2e 31 30 0a 3b |rsion FS|F 2.10.;|
|000000b0| 3b 3b 20 6f 70 74 69 6d | 69 7a 61 74 69 6f 6e 20 |;; optim|ization |
|000000c0| 69 73 20 6f 6e 2e 0a 3b | 3b 3b 20 74 68 69 73 20 |is on..;|;; this |
|000000d0| 66 69 6c 65 20 75 73 65 | 73 20 6f 70 63 6f 64 65 |file use|s opcode|
|000000e0| 73 20 77 68 69 63 68 20 | 64 6f 20 6e 6f 74 20 65 |s which |do not e|
|000000f0| 78 69 73 74 20 69 6e 20 | 45 6d 61 63 73 20 31 38 |xist in |Emacs 18|
|00000100| 2e 0a 0a 28 69 66 20 28 | 61 6e 64 20 28 62 6f 75 |...(if (|and (bou|
|00000110| 6e 64 70 20 27 65 6d 61 | 63 73 2d 76 65 72 73 69 |ndp 'ema|cs-versi|
|00000120| 6f 6e 29 0a 09 20 28 6f | 72 20 28 61 6e 64 20 28 |on).. (o|r (and (|
|00000130| 62 6f 75 6e 64 70 20 27 | 65 70 6f 63 68 3a 3a 76 |boundp '|epoch::v|
|00000140| 65 72 73 69 6f 6e 29 20 | 65 70 6f 63 68 3a 3a 76 |ersion) |epoch::v|
|00000150| 65 72 73 69 6f 6e 29 0a | 09 20 20 20 20 20 28 73 |ersion).|. (s|
|00000160| 74 72 69 6e 67 2d 6c 65 | 73 73 70 20 65 6d 61 63 |tring-le|ssp emac|
|00000170| 73 2d 76 65 72 73 69 6f | 6e 20 22 31 39 2e 32 39 |s-versio|n "19.29|
|00000180| 22 29 29 29 0a 20 20 20 | 20 28 65 72 72 6f 72 20 |"))). | (error |
|00000190| 22 60 6c 65 64 69 74 2e | 65 6c 27 20 77 61 73 20 |"`ledit.|el' was |
|000001a0| 63 6f 6d 70 69 6c 65 64 | 20 66 6f 72 20 45 6d 61 |compiled| for Ema|
|000001b0| 63 73 20 31 39 2e 32 39 | 20 6f 72 20 6c 61 74 65 |cs 19.29| or late|
|000001c0| 72 22 29 29 0a 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |r"))...(|byte-cod|
|000001d0| 65 20 22 c0 c1 21 84 08 | 00 c2 11 c1 0b 42 13 c2 |e "..!..|.....B..|
|000001e0| 87 22 20 5b 62 6f 75 6e | 64 70 20 6c 65 64 69 74 |." [boun|dp ledit|
|000001f0| 2d 6d 6f 64 65 2d 6d 61 | 70 20 6e 69 6c 20 63 75 |-mode-ma|p nil cu|
|00000200| 72 72 65 6e 74 2d 6c 6f | 61 64 2d 6c 69 73 74 5d |rrent-lo|ad-list]|
|00000210| 20 32 29 0a 23 40 34 33 | 20 46 69 6c 65 20 6e 61 | 2).#@43| File na|
|00000220| 6d 65 20 66 6f 72 20 64 | 61 74 61 20 73 65 6e 74 |me for d|ata sent|
|00000230| 20 74 6f 20 4c 69 73 70 | 20 62 79 20 4c 65 64 69 | to Lisp| by Ledi|
|00000240| 74 2e 1f 0a 28 64 65 66 | 63 6f 6e 73 74 20 6c 65 |t...(def|const le|
|00000250| 64 69 74 2d 7a 61 70 2d | 66 69 6c 65 20 28 62 79 |dit-zap-|file (by|
|00000260| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 20 c2 51 87 22 |te-code |".. .Q."|
|00000270| 20 5b 22 2f 74 6d 70 2f | 22 20 75 73 65 72 2d 6c | ["/tmp/|" user-l|
|00000280| 6f 67 69 6e 2d 6e 61 6d | 65 20 22 2e 6c 31 22 5d |ogin-nam|e ".l1"]|
|00000290| 20 33 29 20 28 23 24 20 | 2e 20 35 33 37 29 29 0a | 3) (#$ |. 537)).|
|000002a0| 23 40 34 33 20 46 69 6c | 65 20 6e 61 6d 65 20 66 |#@43 Fil|e name f|
|000002b0| 6f 72 20 64 61 74 61 20 | 73 65 6e 74 20 74 6f 20 |or data |sent to |
|000002c0| 4c 65 64 69 74 20 62 79 | 20 4c 69 73 70 2e 1f 0a |Ledit by| Lisp...|
|000002d0| 28 64 65 66 63 6f 6e 73 | 74 20 6c 65 64 69 74 2d |(defcons|t ledit-|
|000002e0| 72 65 61 64 2d 66 69 6c | 65 20 28 62 79 74 65 2d |read-fil|e (byte-|
|000002f0| 63 6f 64 65 20 22 c0 c1 | 20 c2 51 87 22 20 5b 22 |code "..| .Q." ["|
|00000300| 2f 74 6d 70 2f 22 20 75 | 73 65 72 2d 6c 6f 67 69 |/tmp/" u|ser-logi|
|00000310| 6e 2d 6e 61 6d 65 20 22 | 2e 6c 32 22 5d 20 33 29 |n-name "|.l2"] 3)|
|00000320| 20 28 23 24 20 2e 20 36 | 37 37 29 29 0a 23 40 35 | (#$ . 6|77)).#@5|
|00000330| 32 20 46 69 6c 65 20 6e | 61 6d 65 20 66 6f 72 20 |2 File n|ame for |
|00000340| 64 61 74 61 20 73 65 6e | 74 20 74 6f 20 4c 69 73 |data sen|t to Lis|
|00000350| 70 20 63 6f 6d 70 69 6c | 65 72 20 62 79 20 4c 65 |p compil|er by Le|
|00000360| 64 69 74 2e 1f 0a 28 64 | 65 66 63 6f 6e 73 74 20 |dit...(d|efconst |
|00000370| 6c 65 64 69 74 2d 63 6f | 6d 70 69 6c 65 2d 66 69 |ledit-co|mpile-fi|
|00000380| 6c 65 20 28 62 79 74 65 | 2d 63 6f 64 65 20 22 c0 |le (byte|-code ".|
|00000390| c1 20 c2 51 87 22 20 5b | 22 2f 74 6d 70 2f 22 20 |. .Q." [|"/tmp/" |
|000003a0| 75 73 65 72 2d 6c 6f 67 | 69 6e 2d 6e 61 6d 65 20 |user-log|in-name |
|000003b0| 22 2e 6c 34 22 5d 20 33 | 29 20 28 23 24 20 2e 20 |".l4"] 3|) (#$ . |
|000003c0| 38 31 38 29 29 0a 23 40 | 36 35 20 4e 61 6d 65 20 |818)).#@|65 Name |
|000003d0| 6f 66 20 62 75 66 66 65 | 72 20 69 6e 20 77 68 69 |of buffe|r in whi|
|000003e0| 63 68 20 4c 65 64 69 74 | 20 61 63 63 75 6d 75 6c |ch Ledit| accumul|
|000003f0| 61 74 65 73 20 64 61 74 | 61 20 74 6f 20 73 65 6e |ates dat|a to sen|
|00000400| 64 20 74 6f 20 4c 69 73 | 70 2e 1f 0a 28 64 65 66 |d to Lis|p...(def|
|00000410| 63 6f 6e 73 74 20 6c 65 | 64 69 74 2d 62 75 66 66 |const le|dit-buff|
|00000420| 65 72 20 22 2a 4c 45 44 | 49 54 2a 22 20 28 23 24 |er "*LED|IT*" (#$|
|00000430| 20 2e 20 39 37 31 29 29 | 0a 23 40 36 39 20 2a 4e | . 971))|.#@69 *N|
|00000440| 6f 6e 2d 6e 69 6c 20 6d | 65 61 6e 73 20 4c 65 64 |on-nil m|eans Led|
|00000450| 69 74 20 73 68 6f 75 6c | 64 20 73 61 76 65 20 66 |it shoul|d save f|
|00000460| 69 6c 65 73 20 62 65 66 | 6f 72 65 20 74 72 61 6e |iles bef|ore tran|
|00000470| 73 66 65 72 72 69 6e 67 | 20 74 6f 20 4c 69 73 70 |sferring| to Lisp|
|00000480| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 6c 65 64 |...(defc|onst led|
|00000490| 69 74 2d 73 61 76 65 2d | 66 69 6c 65 73 20 74 20 |it-save-|files t |
|000004a0| 28 23 24 20 2e 20 2d 31 | 30 38 36 29 29 0a 23 40 |(#$ . -1|086)).#@|
|000004b0| 34 38 20 2a 53 68 65 6c | 6c 20 63 6f 6d 6d 61 6e |48 *Shel|l comman|
|000004c0| 64 73 20 74 6f 20 65 78 | 65 63 75 74 65 20 74 6f |ds to ex|ecute to|
|000004d0| 20 72 65 73 75 6d 65 20 | 4c 69 73 70 20 6a 6f 62 | resume |Lisp job|
|000004e0| 2e 1f 0a 28 64 65 66 63 | 6f 6e 73 74 20 6c 65 64 |...(defc|onst led|
|000004f0| 69 74 2d 67 6f 2d 74 6f | 2d 6c 69 73 70 2d 73 74 |it-go-to|-lisp-st|
|00000500| 72 69 6e 67 20 22 25 3f | 6c 69 73 70 22 20 28 23 |ring "%?|lisp" (#|
|00000510| 24 20 2e 20 2d 31 32 30 | 33 29 29 0a 23 40 35 37 |$ . -120|3)).#@57|
|00000520| 20 2a 53 68 65 6c 6c 20 | 63 6f 6d 6d 61 6e 64 73 | *Shell |commands|
|00000530| 20 74 6f 20 65 78 65 63 | 75 74 65 20 74 6f 20 72 | to exec|ute to r|
|00000540| 65 73 75 6d 65 20 4c 69 | 73 70 20 63 6f 6d 70 69 |esume Li|sp compi|
|00000550| 6c 65 72 20 6a 6f 62 2e | 1f 0a 28 64 65 66 63 6f |ler job.|..(defco|
|00000560| 6e 73 74 20 6c 65 64 69 | 74 2d 67 6f 2d 74 6f 2d |nst ledi|t-go-to-|
|00000570| 6c 69 73 7a 74 2d 73 74 | 72 69 6e 67 20 22 25 3f |liszt-st|ring "%?|
|00000580| 6c 69 73 7a 74 22 20 28 | 23 24 20 2e 20 2d 31 33 |liszt" (|#$ . -13|
|00000590| 31 33 29 29 0a 23 40 34 | 34 20 53 61 76 65 20 74 |13)).#@4|4 Save t|
|000005a0| 68 65 20 63 75 72 72 65 | 6e 74 20 64 65 66 75 6e |he curre|nt defun|
|000005b0| 20 69 6e 20 74 68 65 20 | 6c 65 64 69 74 20 62 75 | in the |ledit bu|
|000005c0| 66 66 65 72 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 |ffer..(d|efalias |
|000005d0| 27 6c 65 64 69 74 2d 73 | 61 76 65 2d 64 65 66 75 |'ledit-s|ave-defu|
|000005e0| 6e 20 23 5b 6e 69 6c 20 | 22 8a c0 20 88 60 19 c2 |n #[nil |".. .`..|
|000005f0| 20 88 c3 5c 66 60 09 23 | 88 29 c5 c6 21 29 87 22 | ..\f`.#|.)..!)."|
|00000600| 20 5b 65 6e 64 2d 6f 66 | 2d 64 65 66 75 6e 20 65 | [end-of|-defun e|
|00000610| 6e 64 20 62 65 67 69 6e | 6e 69 6e 67 2d 6f 66 2d |nd begin|ning-of-|
|00000620| 64 65 66 75 6e 20 61 70 | 70 65 6e 64 2d 74 6f 2d |defun ap|pend-to-|
|00000630| 62 75 66 66 65 72 20 6c | 65 64 69 74 2d 62 75 66 |buffer l|edit-buf|
|00000640| 66 65 72 20 6d 65 73 73 | 61 67 65 20 22 43 75 72 |fer mess|age "Cur|
|00000650| 72 65 6e 74 20 64 65 66 | 75 6e 20 73 61 76 65 64 |rent def|un saved|
|00000660| 20 66 6f 72 20 4c 69 73 | 70 22 5d 20 34 20 28 23 | for Lis|p"] 4 (#|
|00000670| 24 20 2e 20 31 34 33 34 | 29 20 6e 69 6c 5d 29 0a |$ . 1434|) nil]).|
|00000680| 23 40 34 35 20 53 61 76 | 65 20 74 68 65 20 63 75 |#@45 Sav|e the cu|
|00000690| 72 72 65 6e 74 20 72 65 | 67 69 6f 6e 20 69 6e 20 |rrent re|gion in |
|000006a0| 74 68 65 20 6c 65 64 69 | 74 20 62 75 66 66 65 72 |the ledi|t buffer|
|000006b0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 65 64 |..(defal|ias 'led|
|000006c0| 69 74 2d 73 61 76 65 2d | 72 65 67 69 6f 6e 20 23 |it-save-|region #|
|000006d0| 5b 28 62 65 67 20 65 6e | 64 29 20 22 c0 09 5c 6e |[(beg en|d) "..\n|
|000006e0| 0b 23 88 c4 c5 21 87 22 | 20 5b 61 70 70 65 6e 64 |.#...!."| [append|
|000006f0| 2d 74 6f 2d 62 75 66 66 | 65 72 20 6c 65 64 69 74 |-to-buff|er ledit|
|00000700| 2d 62 75 66 66 65 72 20 | 62 65 67 20 65 6e 64 20 |-buffer |beg end |
|00000710| 6d 65 73 73 61 67 65 20 | 22 52 65 67 69 6f 6e 20 |message |"Region |
|00000720| 73 61 76 65 64 20 66 6f | 72 20 4c 69 73 70 22 5d |saved fo|r Lisp"]|
|00000730| 20 34 20 28 23 24 20 2e | 20 31 36 36 39 29 20 22 | 4 (#$ .| 1669) "|
|00000740| 72 22 5d 29 0a 23 40 33 | 34 20 43 61 72 72 79 20 |r"]).#@3|4 Carry |
|00000750| 74 68 65 20 63 75 72 72 | 65 6e 74 20 64 65 66 75 |the curr|ent defu|
|00000760| 6e 20 74 6f 20 4c 69 73 | 70 2e 1f 0a 28 64 65 66 |n to Lis|p...(def|
|00000770| 61 6c 69 61 73 20 27 6c | 65 64 69 74 2d 7a 61 70 |alias 'l|edit-zap|
|00000780| 2d 64 65 66 75 6e 2d 74 | 6f 2d 6c 69 73 70 20 23 |-defun-t|o-lisp #|
|00000790| 5b 6e 69 6c 20 22 c0 20 | 88 c1 20 87 22 20 5b 6c |[nil ". |.. ." [l|
|000007a0| 65 64 69 74 2d 73 61 76 | 65 2d 64 65 66 75 6e 20 |edit-sav|e-defun |
|000007b0| 6c 65 64 69 74 2d 67 6f | 2d 74 6f 2d 6c 69 73 70 |ledit-go|-to-lisp|
|000007c0| 5d 20 31 20 28 23 24 20 | 2e 20 31 38 36 36 29 20 |] 1 (#$ |. 1866) |
|000007d0| 6e 69 6c 5d 29 0a 23 40 | 33 35 20 43 61 72 72 79 |nil]).#@|35 Carry|
|000007e0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 64 65 66 | the cur|rent def|
|000007f0| 75 6e 20 74 6f 20 6c 69 | 73 7a 74 2e 1f 0a 28 64 |un to li|szt...(d|
|00000800| 65 66 61 6c 69 61 73 20 | 27 6c 65 64 69 74 2d 7a |efalias |'ledit-z|
|00000810| 61 70 2d 64 65 66 75 6e | 2d 74 6f 2d 6c 69 73 7a |ap-defun|-to-lisz|
|00000820| 74 20 23 5b 6e 69 6c 20 | 22 c0 20 88 c1 20 87 22 |t #[nil |". .. ."|
|00000830| 20 5b 6c 65 64 69 74 2d | 73 61 76 65 2d 64 65 66 | [ledit-|save-def|
|00000840| 75 6e 20 6c 65 64 69 74 | 2d 67 6f 2d 74 6f 2d 6c |un ledit|-go-to-l|
|00000850| 69 73 7a 74 5d 20 31 20 | 28 23 24 20 2e 20 32 30 |iszt] 1 |(#$ . 20|
|00000860| 31 31 29 20 6e 69 6c 5d | 29 0a 23 40 33 35 20 43 |11) nil]|).#@35 C|
|00000870| 61 72 72 79 20 74 68 65 | 20 63 75 72 72 65 6e 74 |arry the| current|
|00000880| 20 72 65 67 69 6f 6e 20 | 74 6f 20 4c 69 73 70 2e | region |to Lisp.|
|00000890| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 65 64 |..(defal|ias 'led|
|000008a0| 69 74 2d 7a 61 70 2d 72 | 65 67 69 6f 6e 2d 74 6f |it-zap-r|egion-to|
|000008b0| 2d 6c 69 73 70 20 23 5b | 28 62 65 67 20 65 6e 64 |-lisp #[|(beg end|
|000008c0| 29 20 22 c0 09 5c 6e 5c | 22 88 c3 20 87 22 20 5b |) "..\n\|".. ." [|
|000008d0| 6c 65 64 69 74 2d 73 61 | 76 65 2d 72 65 67 69 6f |ledit-sa|ve-regio|
|000008e0| 6e 20 62 65 67 20 65 6e | 64 20 6c 65 64 69 74 2d |n beg en|d ledit-|
|000008f0| 67 6f 2d 74 6f 2d 6c 69 | 73 70 5d 20 33 20 28 23 |go-to-li|sp] 3 (#|
|00000900| 24 20 2e 20 32 31 35 39 | 29 20 22 72 22 5d 29 0a |$ . 2159|) "r"]).|
|00000910| 23 40 34 37 20 53 75 73 | 70 65 6e 64 20 45 6d 61 |#@47 Sus|pend Ema|
|00000920| 63 73 20 61 6e 64 20 72 | 65 73 74 61 72 74 20 61 |cs and r|estart a|
|00000930| 20 77 61 69 74 69 6e 67 | 20 4c 69 73 70 20 6a 6f | waiting| Lisp jo|
|00000940| 62 2e 1f 0a 28 64 65 66 | 61 6c 69 61 73 20 27 6c |b...(def|alias 'l|
|00000950| 65 64 69 74 2d 67 6f 2d | 74 6f 2d 6c 69 73 70 20 |edit-go-|to-lisp |
|00000960| 23 5b 6e 69 6c 20 22 08 | 83 07 00 c1 20 88 c2 0b |#[nil ".|.... ...|
|00000970| 21 83 1e 00 8a 0b 71 88 | 65 62 88 c4 65 64 0d 23 |!.....q.|eb..ed.#|
|00000980| 88 c6 20 88 29 c7 0e 08 | 21 88 c9 0e 5c 6e cb 89 |.. .)...|!...\n..|
|00000990| 23 87 22 20 5b 6c 65 64 | 69 74 2d 73 61 76 65 2d |#." [led|it-save-|
|000009a0| 66 69 6c 65 73 20 73 61 | 76 65 2d 73 6f 6d 65 2d |files sa|ve-some-|
|000009b0| 62 75 66 66 65 72 73 20 | 67 65 74 2d 62 75 66 66 |buffers |get-buff|
|000009c0| 65 72 20 6c 65 64 69 74 | 2d 62 75 66 66 65 72 20 |er ledit|-buffer |
|000009d0| 77 72 69 74 65 2d 72 65 | 67 69 6f 6e 20 6c 65 64 |write-re|gion led|
|000009e0| 69 74 2d 7a 61 70 2d 66 | 69 6c 65 20 65 72 61 73 |it-zap-f|ile eras|
|000009f0| 65 2d 62 75 66 66 65 72 | 20 73 75 73 70 65 6e 64 |e-buffer| suspend|
|00000a00| 2d 65 6d 61 63 73 20 6c | 65 64 69 74 2d 67 6f 2d |-emacs l|edit-go-|
|00000a10| 74 6f 2d 6c 69 73 70 2d | 73 74 72 69 6e 67 20 6c |to-lisp-|string l|
|00000a20| 6f 61 64 20 6c 65 64 69 | 74 2d 72 65 61 64 2d 66 |oad ledi|t-read-f|
|00000a30| 69 6c 65 20 74 5d 20 34 | 20 28 23 24 20 2e 20 32 |ile t] 4| (#$ . 2|
|00000a40| 33 32 35 29 20 6e 69 6c | 5d 29 0a 23 40 34 38 20 |325) nil|]).#@48 |
|00000a50| 53 75 73 70 65 6e 64 20 | 45 6d 61 63 73 20 61 6e |Suspend |Emacs an|
|00000a60| 64 20 72 65 73 74 61 72 | 74 20 61 20 77 61 69 74 |d restar|t a wait|
|00000a70| 69 6e 67 20 4c 69 73 7a | 74 20 6a 6f 62 2e 1f 0a |ing Lisz|t job...|
|00000a80| 28 64 65 66 61 6c 69 61 | 73 20 27 6c 65 64 69 74 |(defalia|s 'ledit|
|00000a90| 2d 67 6f 2d 74 6f 2d 6c | 69 73 7a 74 20 23 5b 6e |-go-to-l|iszt #[n|
|00000aa0| 69 6c 20 22 08 83 07 00 | c1 20 88 c2 0b 21 83 5c |il "....|. ...!.\|
|00000ab0| 22 00 8a 0b 71 88 65 62 | 88 c4 63 88 c5 65 64 0e |"...q.eb|..c..ed.|
|00000ac0| 06 23 88 c7 20 88 29 c8 | 0e 09 21 88 ca 0e 0b cc |.#.. .).|..!.....|
|00000ad0| 89 23 87 22 20 5b 6c 65 | 64 69 74 2d 73 61 76 65 |.#." [le|dit-save|
|00000ae0| 2d 66 69 6c 65 73 20 73 | 61 76 65 2d 73 6f 6d 65 |-files s|ave-some|
|00000af0| 2d 62 75 66 66 65 72 73 | 20 67 65 74 2d 62 75 66 |-buffers| get-buf|
|00000b00| 66 65 72 20 6c 65 64 69 | 74 2d 62 75 66 66 65 72 |fer ledi|t-buffer|
|00000b10| 20 22 28 64 65 63 6c 61 | 72 65 20 28 6d 61 63 72 | "(decla|re (macr|
|00000b20| 6f 73 20 74 29 29 5c 6e | 22 20 77 72 69 74 65 2d |os t))\n|" write-|
|00000b30| 72 65 67 69 6f 6e 20 6c | 65 64 69 74 2d 63 6f 6d |region l|edit-com|
|00000b40| 70 69 6c 65 2d 66 69 6c | 65 20 65 72 61 73 65 2d |pile-fil|e erase-|
|00000b50| 62 75 66 66 65 72 20 73 | 75 73 70 65 6e 64 2d 65 |buffer s|uspend-e|
|00000b60| 6d 61 63 73 20 6c 65 64 | 69 74 2d 67 6f 2d 74 6f |macs led|it-go-to|
|00000b70| 2d 6c 69 73 7a 74 2d 73 | 74 72 69 6e 67 20 6c 6f |-liszt-s|tring lo|
|00000b80| 61 64 20 6c 65 64 69 74 | 2d 72 65 61 64 2d 66 69 |ad ledit|-read-fi|
|00000b90| 6c 65 20 74 5d 20 34 20 | 28 23 24 20 2e 20 32 36 |le t] 4 |(#$ . 26|
|00000ba0| 34 30 29 20 6e 69 6c 5d | 29 0a 23 40 35 31 20 53 |40) nil]|).#@51 S|
|00000bb0| 65 74 20 75 70 20 6b 65 | 79 20 62 69 6e 64 69 6e |et up ke|y bindin|
|00000bc0| 67 73 20 66 6f 72 20 74 | 68 65 20 4c 69 73 70 2f |gs for t|he Lisp/|
|00000bd0| 45 6d 61 63 73 20 69 6e | 74 65 72 66 61 63 65 2e |Emacs in|terface.|
|00000be0| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6c 65 64 |..(defal|ias 'led|
|00000bf0| 69 74 2d 73 65 74 75 70 | 20 23 5b 6e 69 6c 20 22 |it-setup| #[nil "|
|00000c00| 08 84 09 00 c1 20 5c 6e | a4 10 c3 08 c4 c5 23 88 |..... \n|......#.|
|00000c10| c3 08 c6 c7 23 88 c3 08 | c8 c9 23 88 c3 08 ca cb |....#...|..#.....|
|00000c20| 23 87 22 20 5b 6c 65 64 | 69 74 2d 6d 6f 64 65 2d |#." [led|it-mode-|
|00000c30| 6d 61 70 20 6d 61 6b 65 | 2d 73 70 61 72 73 65 2d |map make|-sparse-|
|00000c40| 6b 65 79 6d 61 70 20 73 | 68 61 72 65 64 2d 6c 69 |keymap s|hared-li|
|00000c50| 73 70 2d 6d 6f 64 65 2d | 6d 61 70 20 64 65 66 69 |sp-mode-|map defi|
|00000c60| 6e 65 2d 6b 65 79 20 22 | 1b 04 22 20 6c 65 64 69 |ne-key "|.." ledi|
|00000c70| 74 2d 73 61 76 65 2d 64 | 65 66 75 6e 20 22 1b 12 |t-save-d|efun "..|
|00000c80| 22 20 6c 65 64 69 74 2d | 73 61 76 65 2d 72 65 67 |" ledit-|save-reg|
|00000c90| 69 6f 6e 20 22 18 7a 22 | 20 6c 65 64 69 74 2d 67 |ion ".z"| ledit-g|
|00000ca0| 6f 2d 74 6f 2d 6c 69 73 | 70 20 22 1b 03 22 20 6c |o-to-lis|p ".." l|
|00000cb0| 65 64 69 74 2d 67 6f 2d | 74 6f 2d 6c 69 73 7a 74 |edit-go-|to-liszt|
|00000cc0| 5d 20 34 20 28 23 24 20 | 2e 20 32 39 39 31 29 5d |] 4 (#$ |. 2991)]|
|00000cd0| 29 0a 28 6c 65 64 69 74 | 2d 73 65 74 75 70 29 0a |).(ledit|-setup).|
|00000ce0| 23 40 35 37 37 20 5c 3c | 6c 65 64 69 74 2d 6d 6f |#@577 \<|ledit-mo|
|00000cf0| 64 65 2d 6d 61 70 3e 4d | 61 6a 6f 72 20 6d 6f 64 |de-map>M|ajor mod|
|00000d00| 65 20 66 6f 72 20 65 64 | 69 74 69 6e 67 20 74 65 |e for ed|iting te|
|00000d10| 78 74 20 61 6e 64 20 73 | 74 75 66 66 69 6e 67 20 |xt and s|tuffing |
|00000d20| 69 74 20 74 6f 20 61 20 | 4c 69 73 70 20 6a 6f 62 |it to a |Lisp job|
|00000d30| 2e 0a 4c 69 6b 65 20 4c | 69 73 70 20 6d 6f 64 65 |..Like L|isp mode|
|00000d40| 2c 20 70 6c 75 73 20 74 | 68 65 73 65 20 73 70 65 |, plus t|hese spe|
|00000d50| 63 69 61 6c 20 63 6f 6d | 6d 61 6e 64 73 3a 0a 20 |cial com|mands:. |
|00000d60| 20 5c 5b 6c 65 64 69 74 | 2d 73 61 76 65 2d 64 65 | \[ledit|-save-de|
|00000d70| 66 75 6e 5d 09 2d 2d 20 | 72 65 63 6f 72 64 20 64 |fun].-- |record d|
|00000d80| 65 66 75 6e 20 61 74 20 | 6f 72 20 61 66 74 65 72 |efun at |or after|
|00000d90| 20 70 6f 69 6e 74 0a 09 | 20 20 20 66 6f 72 20 6c | point..| for l|
|00000da0| 61 74 65 72 20 74 72 61 | 6e 73 6d 69 73 73 69 6f |ater tra|nsmissio|
|00000db0| 6e 20 74 6f 20 4c 69 73 | 70 20 6a 6f 62 2e 0a 20 |n to Lis|p job.. |
|00000dc0| 20 5c 5b 6c 65 64 69 74 | 2d 73 61 76 65 2d 72 65 | \[ledit|-save-re|
|00000dd0| 67 69 6f 6e 5d 20 2d 2d | 20 72 65 63 6f 72 64 20 |gion] --| record |
|00000de0| 72 65 67 69 6f 6e 20 66 | 6f 72 20 6c 61 74 65 72 |region f|or later|
|00000df0| 20 74 72 61 6e 73 6d 69 | 73 73 69 6f 6e 20 74 6f | transmi|ssion to|
|00000e00| 20 4c 69 73 70 20 6a 6f | 62 2e 0a 20 20 5c 5b 6c | Lisp jo|b.. \[l|
|00000e10| 65 64 69 74 2d 67 6f 2d | 74 6f 2d 6c 69 73 70 5d |edit-go-|to-lisp]|
|00000e20| 20 2d 2d 20 74 72 61 6e | 73 66 65 72 20 74 6f 20 | -- tran|sfer to |
|00000e30| 4c 69 73 70 20 6a 6f 62 | 20 61 6e 64 20 74 72 61 |Lisp job| and tra|
|00000e40| 6e 73 6d 69 74 20 73 61 | 76 65 64 20 74 65 78 74 |nsmit sa|ved text|
|00000e50| 2e 0a 20 20 5c 5b 6c 65 | 64 69 74 2d 67 6f 2d 74 |.. \[le|dit-go-t|
|00000e60| 6f 2d 6c 69 73 7a 74 5d | 20 2d 2d 20 74 72 61 6e |o-liszt]| -- tran|
|00000e70| 73 66 65 72 20 74 6f 20 | 4c 69 73 7a 74 20 28 4c |sfer to |Liszt (L|
|00000e80| 69 73 70 20 63 6f 6d 70 | 69 6c 65 72 29 20 6a 6f |isp comp|iler) jo|
|00000e90| 62 0a 09 20 20 20 61 6e | 64 20 74 72 61 6e 73 6d |b.. an|d transm|
|00000ea0| 69 74 20 73 61 76 65 64 | 20 74 65 78 74 2e 0a 5c |it saved| text..\|
|00000eb0| 7b 6c 65 64 69 74 2d 6d | 6f 64 65 2d 6d 61 70 7d |{ledit-m|ode-map}|
|00000ec0| 0a 54 6f 20 6d 61 6b 65 | 20 4c 69 73 70 20 6d 6f |.To make| Lisp mo|
|00000ed0| 64 65 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |de autom|atically|
|00000ee0| 20 63 68 61 6e 67 65 20 | 74 6f 20 4c 65 64 69 74 | change |to Ledit|
|00000ef0| 20 6d 6f 64 65 2c 0a 64 | 6f 20 28 73 65 74 71 20 | mode,.d|o (setq |
|00000f00| 6c 69 73 70 2d 6d 6f 64 | 65 2d 68 6f 6f 6b 20 27 |lisp-mod|e-hook '|
|00000f10| 6c 65 64 69 74 2d 66 72 | 6f 6d 2d 6c 69 73 70 2d |ledit-fr|om-lisp-|
|00000f20| 6d 6f 64 65 29 1f 0a 28 | 64 65 66 61 6c 69 61 73 |mode)..(|defalias|
|00000f30| 20 27 6c 65 64 69 74 2d | 6d 6f 64 65 20 23 5b 6e | 'ledit-|mode #[n|
|00000f40| 69 6c 20 22 c0 20 88 c1 | 20 87 22 20 5b 6c 69 73 |il ". ..| ." [lis|
|00000f50| 70 2d 6d 6f 64 65 20 6c | 65 64 69 74 2d 66 72 6f |p-mode l|edit-fro|
|00000f60| 6d 2d 6c 69 73 70 2d 6d | 6f 64 65 5d 20 31 20 28 |m-lisp-m|ode] 1 (|
|00000f70| 23 24 20 2e 20 33 33 30 | 32 29 20 6e 69 6c 5d 29 |#$ . 330|2) nil])|
|00000f80| 0a 28 64 65 66 61 6c 69 | 61 73 20 27 6c 65 64 69 |.(defali|as 'ledi|
|00000f90| 74 2d 66 72 6f 6d 2d 6c | 69 73 70 2d 6d 6f 64 65 |t-from-l|isp-mode|
|00000fa0| 20 23 5b 6e 69 6c 20 22 | c0 09 21 88 c2 13 c4 15 | #[nil "|..!.....|
|00000fb0| c6 c7 21 87 22 20 5b 75 | 73 65 2d 6c 6f 63 61 6c |..!." [u|se-local|
|00000fc0| 2d 6d 61 70 20 6c 65 64 | 69 74 2d 6d 6f 64 65 2d |-map led|it-mode-|
|00000fd0| 6d 61 70 20 22 4c 65 64 | 69 74 22 20 6d 6f 64 65 |map "Led|it" mode|
|00000fe0| 2d 6e 61 6d 65 20 6c 65 | 64 69 74 2d 6d 6f 64 65 |-name le|dit-mode|
|00000ff0| 20 6d 61 6a 6f 72 2d 6d | 6f 64 65 20 72 75 6e 2d | major-m|ode run-|
|00001000| 68 6f 6f 6b 73 20 6c 65 | 64 69 74 2d 6d 6f 64 65 |hooks le|dit-mode|
|00001010| 2d 68 6f 6f 6b 5d 20 32 | 5d 29 0a |-hook] 2|]). |
+--------+-------------------------+-------------------------+--------+--------+